/**
 * Created with  SublimeText
 * @Author:      Lyle
 * @DateTime:    2016-11-09 14:44:04
 * @Description: 
 */

define(function(require, exports, module) {

    var basePage = {

        baseRender: function(obj) {
            Share.checkPermission(this.callBackRender.bind(this, obj));

        },

        callBackRender: function(obj) {
            $('body').html("<div id = '" + obj.name + "' class='page'></div>");
            this.render(obj);
        },

        baseUpdateComponents: function(type, data) {

        },

    }

    module.exports = basePage;
});
